package com.wems.farm_manage.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wems.common.annotation.Excel;
import com.wems.common.core.domain.BaseEntity;

/**
 * 风场管理对象 tb_wind_farm
 * 
 * @author MPC
 * @date 2025-04-05
 */
public class WindFarm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 风场唯一标识符 */
    private Long farmId;

    /** 风场名称 */
    @Excel(name = "风场名称")
    private String farmName;

    /** 地理位置 */
    @Excel(name = "地理位置")
    private String location;

    /** 运营商 */
    @Excel(name = "运营商")
    private String operator;

    /** 投产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commissionDate;

    /** 总装机容量 */
    @Excel(name = "总装机容量")
    private BigDecimal capacity;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String status;

    //所属部门ID
    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setFarmId(Long farmId)
    {
        this.farmId = farmId;
    }

    public Long getFarmId() 
    {
        return farmId;
    }

    public void setFarmName(String farmName) 
    {
        this.farmName = farmName;
    }

    public String getFarmName() 
    {
        return farmName;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setCommissionDate(Date commissionDate) 
    {
        this.commissionDate = commissionDate;
    }

    public Date getCommissionDate() 
    {
        return commissionDate;
    }

    public void setCapacity(BigDecimal capacity) 
    {
        this.capacity = capacity;
    }

    public BigDecimal getCapacity() 
    {
        return capacity;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("farmId", getFarmId())
            .append("farmName", getFarmName())
            .append("location", getLocation())
            .append("operator", getOperator())
            .append("commissionDate", getCommissionDate())
            .append("capacity", getCapacity())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .toString();
    }
}
